Skip to content

feat: support PHP 8.4 and 8.5 in parallel - #18

Merged
lisachenko merged 1 commit into
masterfrom
claude/php-8.4-8.5-support-us9adi
Aug 7, 2026
Merged

feat: support PHP 8.4 and 8.5 in parallel#18
lisachenko merged 1 commit into
masterfrom
claude/php-8.4-8.5-support-us9adi

Conversation

@lisachenko

Copy link
Copy Markdown
Owner

What

  • composer.json: php: ^8.4 and lisachenko/z-engine: 8.4.x-dev || 8.5.x-dev, plus minimum-stability: dev + prefer-stable: true (root-level requirement for the dev branches). Composer resolves the engine-bindings line matching the running minor — verified locally: 8.4.x-dev on PHP 8.4, dev-master (aliased 8.5.x-dev) on PHP 8.5.
  • CI: replaced the single PHP_MINOR: 8.4 env with a ['8.4', '8.5'] matrix for the tests and PHPStan jobs (coding standards stays single-version).
  • README: PHP badge now 8.4 | 8.5, requirements and installation sections rewritten for the parallel-minor policy.
  • CLAUDE.md: the "PHP version is pinned" rule is now the "PHP minor and z-engine line move together" rule; dependency policy updated to match.

Validation

Full .phpt suite run locally on both minors with fresh installs:

  • PHP 8.4 (z-engine 8.4.x-dev): OK, 12 tests
  • PHP 8.5 (z-engine dev-master): OK, 12 tests

The do_operation/compare/create_object handlers work on both z-engine lines. PHPStan and php-cs-fixer could not be run locally (their dists are GitHub-API-only, which the sandbox egress blocks) — CI covers both.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Y5XNnAjcG8xSxun92V23Sm


Generated by Claude Code

Widen php to ^8.4 and require z-engine as 8.4.x-dev || 8.5.x-dev so
Composer resolves the engine-bindings line matching the running minor.
Run tests and PHPStan on both minors in CI, and update the README and
CLAUDE.md to describe the parallel-minor policy instead of the 8.4 pin.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y5XNnAjcG8xSxun92V23Sm
@lisachenko
lisachenko marked this pull request as ready for review August 7, 2026 22:15
@lisachenko
lisachenko merged commit eee3998 into master Aug 7, 2026
5 checks passed
@lisachenko
lisachenko deleted the claude/php-8.4-8.5-support-us9adi branch August 7, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants